<?php
$servername = "localhost";
/*$username = "one";
$password = "one";*/
$username = "one";
$password = "one";
$dbname = "hospital_xjw";
// 创建连接
$conn = new mysqli($servername, $username, $password, $dbname);
// 检测连接
if ($conn->connect_error) {
    die("connect_false: " . $conn->connect_error);
} 
?>